This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: UnsatisfiedLinkError in lotus-notes plugin
Feedback Type: Problem
Product Area: Notes 8 Client
Technical Area: Application development
Platform: ALL
Release: 8.0
Reproducible: Always
Hi,
We are having an issue with a dll in a notes plugin.
When we call this:
NotesFactory.createSession();
we get this error:
Unable to create view: nlsxbe (The filename or extension is too long.
java.lang.UnsatisfiedLinkError: nlsxbe (The filename or extension is too long. )
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:952)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:921)
at java.lang.System.loadLibrary(System.java:452)
at lotus.domino.NotesThread.load(Unknown Source)
at lotus.domino.NotesThread.checkLoaded(Unknown Source)
at lotus.domino.NotesThread.sinitThread(Unknown Source)
at com.atempo.adam.lotus.plugin.views.TopicView.createPartControl(TopicView.java:609)
NotesFactory is in Notes.jar, that we have included in our "plugin.xml" in dependencies tab. (The dependencie is: "com.ibm.notes.java.api").
The path to the jar is:
"C:\Archivos de programa\IBM\Lotus\Notes\framework\rcp\eclipse\plugins\com.ibm.rcp.j2se.win32.x86_1.5.0.SR4-200707311521\jre\lib\Notes.jar"
That is longer than 128 characters.
If we install notes in "c:\program files\IBM" instead of "C:\Archivos de programa\IBM", the resulting path is shorter than 128 and we don't get the error.
We have also tried copying nlsxbe.dll to WIN\System32 but we get the same error.